/**
 * @name 05_getNamespace
 */

import java

/* This predicate is currently unused, but we will need it again later. */
predicate isOgnlSink(Expr arg) {
  exists (Method m, MethodAccess ma
  | m.getName() = "compileAndExecute" and
    ma.getMethod() = m and
    arg = ma.getArgument(0))
}

/* Find methods named "getNamespace". */
from Method m
where m.getName() = "getNamespace"
select m
